<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="${base}/template/css/tab.css" type="text/css" />
</head>
<body>
<form action="${base}/user">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td height="30">
			<#include "/template/insertTop.ftl">
		</td>
	</tr>
	<tr>
		<td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="list_left_border">&nbsp;</td>
				<td>
				<table class="tab_body">
					<tr>
						<td class="td1">
							用户ID：
						</td>
						<td class="td2">
							<input type="text" name="code" value="${userId!""}" />
							<input type="hidden" name="view.id" value="${view.id!""}" />
							<input type="hidden" name="createTime" value="${createTime!""}" />
							<input type="hidden" name="cmd" value="save" />
						</td>
					</tr>
					<tr>
						<td class="td1">
							用户名：
						</td>
						<td class="td2">
							<input type="text" name="name" value="${name!""}" />
						</td>
					</tr>
					<tr>
						<td class="td1">
							密码：
						</td>
						<td class="td2">
							<input type="text" name="password" value="${password!""}" />
						</td>
					</tr>
					<tr>
						<td class="td1">
							邮箱：
						</td>
						<td class="td2">
							<input type="text" name="email" value="${email!""}" />
						</td>
					</tr>
					<tr>
						<td class="td1">
							用户类型：
						</td>
						<td class="td2">
							<input type="text" name="type" value="${type!""}" />
						</td>
					</tr>
					<tr>
						<td class="td1">
							状态：
						</td>
						<td class="td2">
							<select id="state" name="state">
								<#list view.stateMap?keys as stateKey>
								<#if stateKey==view.searchState>
									<option selected value="${stateKey}">${view.stateMap[stateKey]}</option>
								 <#else>
								 	<option value="${stateKey}">${view.stateMap[stateKey]}</option>
								 </#if>
								</#list>
							</select>
						</td>
					</tr>
					<tr>
						<td class="td1" colspan="2">
							<input type="submit" value="保存" />
						</td>
					</tr>
				</table>
				</td>
				<td width="9"  style="background-image:url(/template/images/tab_16.gif);"></td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="9" style="background-image:url(/template/images/tab_20.gif);"></td>
				<td style="background-image:url(/template/images/tab_21.gif);">&nbsp;</td>
				<td width="14"><img src="/template/images/tab_22.gif" width="14"/></td>
			</tr>
		</table>
		</td>
	</tr>
</table>
</form>
</body>
</html>